package com.bwie.controller;

import com.bwie.service.ProductService;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @Description
 * @Author 36167
 * @Date 2025/3/8 11:26
 **/


@RestController
@RequestMapping("/prod")
public class ProductController {

    @Autowired
    ProductService productService;

    @GetMapping("/prodelist")
    public R prodelist(PageInfoVo pageInfoVo){
        return productService.prodlist(pageInfoVo);
    }

}
